package com.tanhua.dubbo.api;

import com.tanhua.model.db.Questions;
import com.tanhua.model.vo.QuestionsVo;

import java.util.List;
import java.util.Map;

public interface QuestionsApi {
    //查询所有问题
    Map<String, List<QuestionsVo>> findAll();
    //通过问题ids获取问题list
    List<Questions> findByIds(List<Long> questionIds);
}
